package com.bblocks.communityInfo.client;


import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

@Schema(description = "AppBizProdDto")
public class AppBizProdDto implements Serializable {
	private static final long serialVersionUID = 5049919089101634020L;

	@Schema(description = "商品id")
	private Long prodId;

	@Schema(description = "商品名称")
	private String name;

	@Schema(description = "图片")
	private String pic;

	@Schema(description = "商品价格")
	private Double price;

	@Schema(description = "库存")
	private Integer stocks;

	@Schema(description = "销量")
	private Long buys;

	@Schema(description = "商品状态：0 仓库中的商品、1 出售中的商品、2 违规商品、3 待审核的商品、 4 审核失败的商品、-1 回收站的商品、-2 商家永久删除的商品")
	private Integer status;

	@Schema(description = "分享路劲")
	private String shareUrl;

	@Schema(description = "是否分销商品： 1 是 0 否")
	private Integer supportDist;

	public Long getProdId() {
		return prodId;
	}

	public void setProdId(Long prodId) {
		this.prodId = prodId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}


	public Integer getStocks() {
		return stocks;
	}

	public void setStocks(Integer stocks) {
		this.stocks = stocks;
	}

	public Long getBuys() {
		return buys;
	}

	public void setBuys(Long buys) {
		this.buys = buys;
	}


	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getShareUrl() {
		return shareUrl;
	}

	public void setShareUrl(String shareUrl) {
		this.shareUrl = shareUrl;
	}

	public Integer getSupportDist() {
		return supportDist;
	}

	public void setSupportDist(Integer supportDist) {
		this.supportDist = supportDist;
	}

	@Override
	public String toString() {
		return super.toString();
	}
}
